#include<stdio.h>
int main()
{
    int in;
    sscanf("fdfg123.","%d",&in);
    printf("in = %d\n", in);
    return 0;
}

